import { useContext } from "react";
import { themeContext } from "@/themeContext";

export const useMyContext = () => {
  const { messageApi } = useContext(themeContext);
  return { messageApi };
};
